package com.cleaningcloud.erp.mapper;

import java.util.List;
import com.cleaningcloud.erp.domain.ErpWareOverflowDetails;

/**
 * 报溢明细Mapper接口
 *
 * @author cleaningcloud
 * @date 2024-12-02
 */
public interface ErpWareOverflowDetailsMapper
{
    /**
     * 查询报溢明细
     *
     * @param wareOverflowDetailsId 报溢明细主键
     * @return 报溢明细
     */
    ErpWareOverflowDetails selectErpWareOverflowDetailsByWareOverflowDetailsId(Long wareOverflowDetailsId);

    /**
     * 查询报溢明细列表
     *
     * @param erpWareOverflowDetails 报溢明细
     * @return 报溢明细集合
     */
    List<ErpWareOverflowDetails> selectErpWareOverflowDetailsList(ErpWareOverflowDetails erpWareOverflowDetails);

    /**
     * 新增报溢明细
     *
     * @param erpWareOverflowDetails 报溢明细
     * @return 结果
     */
    int insertErpWareOverflowDetails(ErpWareOverflowDetails erpWareOverflowDetails);

    /**
     * 修改报溢明细
     *
     * @param erpWareOverflowDetails 报溢明细
     * @return 结果
     */
    int updateErpWareOverflowDetails(ErpWareOverflowDetails erpWareOverflowDetails);

    /**
     * 删除报溢明细
     *
     * @param wareOverflowDetailsId 报溢明细主键
     * @return 结果
     */
    int deleteErpWareOverflowDetailsByWareOverflowDetailsId(Long wareOverflowDetailsId);

    /**
     * 批量删除报溢明细
     *
     * @param wareOverflowDetailsIds 需要删除的数据主键集合
     * @return 结果
     */
    int deleteErpWareOverflowDetailsByWareOverflowDetailsIds(Long[] wareOverflowDetailsIds);
}
